home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
58606
/
58606.xpi
/
chrome
/
translator.jar
/
content
/
preferences.xul
< prev
next >
Wrap
Extensible Markup Language
|
2010-01-19
|
4KB
|
81 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
<?xml-stylesheet href="chrome://translator/skin/translator.css" type="text/css"?>
<!DOCTYPE overlay SYSTEM "chrome://translator/locale/translator.dtd">
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
id="translator-preferences"
windowtype="translator:preferences"
persist="screenX, screenY"
title="&title.preferences;">
<script type="application/x-javascript" src="chrome://translator/content/jquery-1.3.2.js" />
<script type="application/x-javascript" src="chrome://translator/content/jquery.boolean.js" />
<script type="application/x-javascript" src="chrome://translator/content/preferencesLoader.js" />
<script type="application/x-javascript" src="chrome://translator/content/preferences.js" />
<script type="application/x-javascript" src="chrome://translator/content/prefsManager.js" />
<script type="application/x-javascript" src="chrome://translator/content/languages.js" />
<!-- Keyboard Shortcuts -->
<keyset>
<key id="translator-preferences-close-key" keycode="VK_ESCAPE" oncommand="window.close();" />
</keyset>
<!-- End Keyboard Shortcuts -->
<hbox id="translator-preferences-content" flex="10">
<tabbox id="translator-preferences-tabbox" flex="1">
<tabs>
<tab label="&preferences.tab.general;" />
<tab label="&preferences.tab.appearance;" />
<tab label="&preferences.tab.languages;" />
</tabs>
<tabpanels flex="1">
<tabpanel id="translator-preferences-tab-general">
<groupbox flex="1">
<caption label="&preferences.caption.translate;"/>
<vbox flex="1">
<checkbox id="translator-preferences-translate-selection" class="translator-preference" label="&preferences.translate.selection;" />
<vbox>
<checkbox id="translator-preferences-translate-floating" class="translator-preference" label="&preferences.translate.floating;" />
<description id="translator-preferences-floating-note">&preferences.translate.floating.note;</description>
</vbox>
<hbox align="center">
<checkbox id="translator-preferences-translate-hotkey" class="translator-preference" label="&preferences.translate.hotkey;" />
<textbox id="translator-preferences-hotkey" class="translator-preference" value="" disabled="true" readonly="true" />
<label id="translator-preferences-hotkey-note" control="translator-preferences-hotkey" value="&preferences.translate.hotkey.note;" disabled="true" />
</hbox>
<description id="translator-preferences-hotkey-warning">&preferences.translate.hotkey.warning;</description>
</vbox>
</groupbox>
</tabpanel>
<tabpanel id="translator-preferences-tab-appearance">
<groupbox flex="1">
<caption label="&preferences.caption.show;"/>
<vbox flex="1">
<checkbox id="translator-preferences-status-icon" class="translator-preference" label="&preferences.show.status.icon;" />
<checkbox id="translator-preferences-status-label" class="translator-preference" label="&preferences.show.status.label;" />
<checkbox id="translator-preferences-toolbar" class="translator-preference" label="&preferences.show.toolbar;" />
<checkbox id="translator-preferences-context-menu" class="translator-preference" label="&preferences.show.context.menu;" />
</vbox>
</groupbox>
</tabpanel>
<tabpanel id="translator-preferences-tab-languages">
<vbox flex="1">
<label value="&preferences.languages.note;" />
<listbox id="translator-preferences-languages-list" flex="1" />
</vbox>
</tabpanel>
</tabpanels>
</tabbox>
</hbox>
<hbox id="translator-preferences-buttons">
<button label="&button.reset.preferences;" id="translator-preferences-button-reset" class="translator-button" />
<spacer flex="1" />
<button label="&button.ok;" id="translator-preferences-button-ok" class="translator-button" default="true" />
<button label="&button.cancel;" id="translator-preferences-button-cancel" class="translator-button" />
<button label="&button.apply;" id="translator-preferences-button-apply" class="translator-button" disabled="true" />
</hbox>
</window>